
import 'package:flutter_blue_plus/flutter_blue_plus.dart';

class DeviceInfo {
  late String wind;
  late String temperature;
  late BluetoothCharacteristic? writeCharacteristic=null;
  DeviceInfo( {required this.wind,required this.temperature});

  DeviceInfo setWind({required String wind}) {
    this.wind = wind;
    return this;
  }
  DeviceInfo setTemperature({required String temperature}) {
    this.temperature = temperature;
    return this;
  }
  DeviceInfo setWriteCharacteristic({required BluetoothCharacteristic writeCharacteristic}) {
    this.writeCharacteristic = writeCharacteristic;
    return this;
  }


}
